/* pages/promotionAdmin/index.wxss */
/*适配480以上的ipad*/
/* 480/750=0.64*/
@function toPadPx($rpx){
  @return $rpx*0.64px;
}

@mixin pad-devices {
  @media (min-width:480px) {
    @content;
  }
}
.task-list{
  width: 96%;
  padding: 20rpx;
  display: flex;
  align-content: center;
  flex-direction: column;
  @include pad-devices {
    padding: toPadPx(20);
  }
}
.task-item{
  background-color: #FFFFFF;
  border-radius: 20rpx;
  position: relative;
}
.task-item:not(:first-child){
  margin-top: 20rpx;
}
.task-item-title:last-child{
  padding-bottom: 20rpx;
}
.task-item-title{
  padding: 0 20rpx;
}
.task-item-title:not(:nth-child(2)){
  margin-top: 20rpx;
}
.task-item-title:nth-child(2){
  padding-top: 40rpx;
}
.task-state,.task-sub-state{
  width: 120rpx;
  height: 40rpx;
  line-height: 40rpx;
  font-size: 24rpx;
  text-align: center;
  color: #FFFFFF;
  background-color: #FF814A;
  border-top-right-radius: 20rpx;
  border-bottom-left-radius: 20rpx;
  @include pad-devices {
    width: toPadPx(120);
    height: toPadPx(40);
    line-height: toPadPx(40);
    font-size: toPadPx(24);
    border-top-right-radius: toPadPx(20);
    border-bottom-left-radius: toPadPx(20);
  }
}
.task-state,.task-state-content{
  position: absolute;
  top: 0;
  right: 0;
}

.text-overflow{
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.report-item-block{
  width: 6rpx;
  height: 30rpx;
  //line-height: 30rpx;
  background: #bdbdbd;
  //margin: 20rpx 0;
  display: inline-block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  //border-radius: 5rpx;
  @include pad-devices {
    width: toPadPx(6);
    height: toPadPx(30);
    //line-height: toPadPx(30);
    //margin: toPadPx(20) 0;
  }
}
.task-item-sub-title{
  font-size: 24rpx;
  color: #8f8d8e;
  vertical-align: middle;
  @include pad-devices {
    font-size: toPadPx(24);
  }
}